{template "content","header"}

          <!-- Right side column. Contains the navbar and content of the page -->
            <aside class="right-side" id="mainbody">
                <!-- Content Header (Page header) -->
              
  						<section class="content-header">
                    <h1><i class="fa {$CAT['caticon']}"></i> {$CAT['catname']}</h1>
                   <!--{var_dump($CAT)}-->
                    <ol class="breadcrumb">
                        <li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>
                        <li class="active"><i class="fa {$CAT['caticon']}"></i> <a href="{$CAT['url']}">{$CAT['catname']}</a>  > 列表</li>
                    </ol>
                </section>
                <!-- Main content -->
                <section class="content">
                	<div class="col-md-3">
										<div class="panel panel-default">
											<div class="panel-heading">
												
												<h3 class="panel-title"><i class="fa fa-search"></i> 搜索条件</h3>
											</div>
											<div class="panel-body">
												<div class="input-group">
													<input type="text" class="form-control">
													<span class="input-group-addon"><i class="fa fa-search"></i></span>
												</div>
										
											{loop $typee $t}
												<div class="form-group">

													<label>{$t['name']}</label>
													<select class="form-control">
														<option value=''></option>
														{loop $t['item'] $e}													
														<option value='{$e['id']}'>{$e['itemtxt']}</option>
														 {/loop}
													</select>
												</div>
											  {/loop}

											</div>
										</div>
                	</div>
                	<div class="col-md-9">
                		
                		
                	<div class="panel panel-default">
              <div class="panel-heading"><i class="fa {$CAT['caticon']}"></i>  {$CAT['catname']}--文件列表</div>
              <table class="table table-striped table-hover">
                <thead>
                  <tr>
                    
                    <th>文件名</th>
                    <th>图片文件</th>
                    <th>PDF文件</th>
                    <th style="text-align: right;">发布日期</th>
                  </tr>
                </thead>
                {pc:content action="lists" catid="$catid" num="999" order="id DESC" page="$page" moreinfo="1"}
              
                <tbody>
                	      {loop $data $r}
                  <tr>
              
                    <td><a href="{$r[url]}">{$r[title]}</a></td>
                    <td>{count(string2array($r[pdf]))}</td>
                    <td>{count(string2array($r['pics']))}</td>
                    <td style="text-align: right;">{date('Y-m-d H:i:s',$r[inputtime])}</td>
                      
                  </tr>  
                    {/loop}
                </tbody>
                 {/pc}
                <!--<tfooter>
                	点击文件名即可进入文件内容。
                </tfooter>-->
              </table>
            </div>	

                	</div>
								<!--<div class="row">
										<div class="col-md-5">
											<div class="input-group">
                        <input type="text" class="form-control">
                        <span class="input-group-addon"><i class="fa fa-check"></i></span>
                      </div>
										</div>
											<div class="col-md-7">
											<div class="form-group col-md-2">
                                            <label>下拉选框</label>
                                            <select class="form-control">
                                                <option>option 1</option>
                                                <option>option 2</option>
                                                <option>option 3</option>
                                                <option>option 4</option>
                                                <option>option 5</option>
                                            </select>
                                        </div>
                                        <div class="form-group col-md-2">
                                            <label>下拉选框</label>
                                            <select class="form-control">
                                                <option>option 1</option>
                                                <option>option 2</option>
                                                <option>option 3</option>
                                                <option>option 4</option>
                                                <option>option 5</option>
                                            </select>
                                        </div>
                                          <div class="form-group col-md-2">
                                            <label>下拉选框</label>
                                            <select class="form-control">
                                                <option>option 1</option>
                                                <option>option 2</option>
                                                <option>option 3</option>
                                                <option>option 4</option>
                                                <option>option 5</option>
                                            </select>
                                        </div>
                                   
										</div>
										
										
									
								</div>-->
          
                </section><!-- /.content -->
            </aside><!-- /.right-side -->
        </div><!-- ./wrapper -->

        <!-- add new calendar event modal -->


    </body>
</html>